{% load i18n %}
{% load tag_extras %}
{% if recent_list %}
<div class="comments latest">
<h2>{% trans "Recent comments" %}</h2>
<ul>
{% for item in recent_list %}
<li>{% gravatar item.user_email %}
{{item.user_name}} {% trans "commented" %} <a href="{{item.content_object.get_absolute_url}}">{% if item.content_object.title %}{{item.content_object.title|safe}}{% else %}{{item.content_object.name|safe}}{% endif %}</a>.</li>
{% endfor %}
</ul>
</div>
{% endif %}
